package com.tangula.web.kashine.business;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.tangula.web.form.DefaultPagingBody;
import com.tangula.web.kashine.entity.ClassEntity;
import com.tangula.web.kashine.entity.CostListForm2;
import com.tangula.web.kashine.entity.LoadTopForm;
import com.tangula.web.kashine.entity.TeacherPageableForm;

public interface ClassBusiness {

	DefaultPagingBody<ClassEntity> showClass(String teacher);

	ClassEntity addClass(ClassEntity claz);

	ClassEntity updateClassInfo(ClassEntity claz);

	LoadTopForm loadTopItems(String teacherId);

	Boolean removeClass(String classId);

	DefaultPagingBody<CostListForm2> loadTeacherHomeCostList(TeacherPageableForm teacher);

	Page<ClassEntity> loadAllClasses(String teacherId, Pageable pageRequest);

	boolean removeTeacherClass(String teacherId, String classId);


	

}
